# -*- coding: utf-8 -*-
class Dao(object):
    """docstring for BaseDao"""
    decorator = []
    def __init__(self):
        super(Dao, self).__init__()

    def get(self,item_id):
        """docstring for get"""
        print 'Dao', 'get', item_id

    def insert(self,data):
        """docstring for get"""
        print 'Dao', 'insert', data

    def delete(self,item_id):
        """docstring for get"""
        print 'Dao', 'delete', item_id

    def update(self,item_id,data):
        """docstring for get"""
        print 'Dao', 'update', item_id, data

    def all(self,env=None):
        print 'Dao','all',env

